//
//  BasePubView.h
//  yunqiphone
//
//  Created by Maple on 13-7-4.
//  Copyright (c) 2013年 ci123.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BasePubView : UIView<
  UITextFieldDelegate,
  UITextViewDelegate
> {

}
@property (nonatomic,copy)NSString *titlePlaceHolder;
@property (nonatomic,copy)NSString *titleText;
@property (nonatomic,copy)NSString *contentPlaceHolder;
@property (nonatomic,assign)NSInteger changeGap; //初始高度
@property (nonatomic,readonly)UITextField *title;
@property (nonatomic,readonly)UITextView *content;

- (BOOL)checkAllContent;
- (void)changeContentHeight:(int)height;

- (void)titleBecomeResign;
- (void)hideKeyboard;
- (void)showKeyboardWithContentView;

- (NSString *)getTitles;
- (NSString *)getContents;

@end
